<?php
$lib_img = new images_thumb();
$lib_rupiah = new Format_rupiah();

$newsid = $news_detail->newsid;
$nama_produk = $list_produk->nama_produk;
$warna = $list_produk->warna;
$disk = $list_produk->disk;
$harga = $list_produk->harga;
$keterangan = $list_produk->keterangan;
?>

<div class="twelve columns">

    <div class="box_head">
        <h3><?php echo $title; ?></h3>
    </div>


    <div id="produk_det">
        <div class="three columns alpha">
           <h2><?php echo $news_detail->title; ?></h2>
           <h3><?php echo date('d M Y H:i:s',strtotime($news_detail->datekeyin)) ?></h3>
        </div>
        <div class="clear"></div> <br/>

        <div class="twelve columns alpha">
            <?php echo nl2br($news_detail->news) ?>
        </div>
		
        <div class = "clear"></div>
        <br/>
        <div class="twelve columns alpha omega">
            <div class="box_head">
                <h3>Komentar</h3>
            </div>
            <div class="fb-comments" data-href="<?php echo base_url(); ?>/main/news/detail/<?php echo $newsid; ?>" data-num-posts="5" data-width="700" ></div>
            <div class="clear"></div>
        </div>
        <div class = "clear"></div>
        <br/>
    </div>

</div>


    <div id="fb-root"></div>
    <script>(function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/id_ID/all.js#xfbml=1";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
    </script>